package com.zzyl.mapper;

import com.zzyl.entity.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * @Author: Learner
 * @Version: 1.0
 */
@Mapper
public interface WechatLoginMapper {


    void insertMember(Member member);



    @Select("select * from member where open_id =#{openId} ")
    Member getByOpenId(String openId);

    void updateMember(Long id, String phone);
}
